<template>
	<!--  @click="dismiss" -->
	<view class="loading-box" v-show="show">
	    <u-loading mode="flower" size="40"></u-loading>
	</view>
</template>

<script>
	  export default {
	    data() {
	      return {};
	    },
	    methods: {
	      dismiss() {
	        this.$store.commit("showLoadGo", false);
	      },
	    },
	    computed: {
	      show() {
	        return this.$store.state.loadingGo;
	      },
	    },
	  };
</script>

<style lang="scss">
	  .loading-box {
	    width: 100%;
	    height: 100vh;
	    // background-color: rgba(0, 0, 0, 0.4);
	    position: fixed;
	    left: 0;
	    top: 0;
	    z-index: 100000000000;
	    display: flex;
	    justify-content: center;
	    align-items: center;
	  }
</style>
